package com.t5;

/**
 * Created by xuyiwei on 2018/7/14.
 */
public class T_5_4_10 {

    @Override
    protected void finalize() throws Throwable {
        System.out.println("执行了finalize方法");
    }

    public static void main(String[] args) {
        {
            T_5_4_10 t = new T_5_4_10();
        }
        System.gc();
    }
}
